package com.study.demo_security_acl.permission;

import org.springframework.stereotype.Service;

/**
 * @Name: AclPermission
 * @Description: java类作用描述
 * @Author: yn
 * @CreateDate: 2022/6/27 15:03
 * @Remark: 特殊说明
 * @Version: 1.0
 */
@Service("acl")
public class AclPermission {
    public boolean check(String name) {
        if ("1".equals(name)) {
            return false;
        }
        return true;
    }
}
